home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DTSEARCH.ARJ / DTSRCH.EXE / pak / README.DTS < prev    next >
Text File  |  1991-11-14  |  16KB  |  394 lines

  1.  
  2.  
  3.  
  4.  
  5.                                                           November 14, 1991
  6.                                 d t S e a r c h  1.11
  7.  
  8.           How to install dtSearch:
  9.  
  10.                * If you have the registered version, please follow the
  11.                directions in the manual.
  12.  
  13.                * If you have the shareware version, there may be included
  14.                an "INSTALL.EXE" file.  This just creates a directory to
  15.                hold the dtSearch program files and executes the self-
  16.                extracting archive file DTSRCH.EXE.  If you have
  17.                INSTALL.EXE, you can use it to install dtSearch.  If not,
  18.                just unpack the files into a directory on your hard disk.
  19.  
  20.           dtSearch includes the following files:
  21.  
  22.           File Name     Purpose of File:
  23.           ------------  ---------------------------------------------------
  24.           DTSEARCH.DOC   Printable copy of the dtSearch manual
  25.           DTSEARCH.EXE   The dtSearch program
  26.           DTSEARCH.HLP   The hypertext help database for dtSearch
  27.           DTSEARCH.MNU   A menu data file for dtSearch
  28.           DTS_SAFE.MNU   An alternative menu data file for dtSearch
  29.           DTSEARCH.NOI   List of "noise" words for dtSearch
  30.           DTSEARCH.REG   A screen data file for dtSearch (registered
  31.                          version only)
  32.           DTSEARCH.SCR   A screen data file for dtSearch
  33.  
  34.           DESCRIBE.DTS   Sample descriptions for catalogs, BBSs, etc.
  35.           HISTORY.DTS    dtSearch upgrade history
  36.           LICENSE.DTS    License and usage information
  37.           ORDER.DTS      Registration information and order form
  38.           PACKING.DTS    List of files included in dtSearch package
  39.           README.DTS     Important last-minute information
  40.           SITELICE.DTS   Site license information and agreement
  41.           SYSOP.DTS      Information for Bulletin Board System         
  42.                          distribution (same as VENDOR.DTS)
  43.           VENDOR.DTS     Information and restrictions for disk vendors,
  44.                          distributors, user groups, etc.
  45.           WARRANTY.DTS   Important warranty information
  46.  
  47.                                  Upgrade Information
  48.  
  49.           From version 1.0...
  50.  
  51.                Document indexes and setup files created with dtSearch 1.0
  52.                will not work properly with version 1.11.  Although version
  53.                1.11 can read indexes created with version 1.0, using
  54.                version 1.11 to search for documents in an index created
  55.                with version 1.0 may result in incorrect words being
  56.                highlighted as "hits" when documents are retrieved. 
  57.                Therefore, if you are upgrading from version 1.0, you should
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                         - 2 -
  64.  
  65.                delete all of the version 1.0 files and indexes and reindex
  66.                your documents.
  67.  
  68.           From version 1.1...
  69.  
  70.                Version 1.11 is fully compatible with version 1.1.  All
  71.                indexes and setup files will work as they did under version
  72.                1.1.  You can upgrade to version 1.11 by simply installing
  73.                the files from this version into your DTSEARCH directory. 
  74.                Do not delete the existing dtSearch 1.1 files.
  75.  
  76.                If you are a registered user of version 1.1, you do not have
  77.                to register version 1.11.  You can simply install the
  78.                shareware version of dtSearch 1.11 in your DTSEARCH
  79.                directory.  The only difference between the shareware
  80.                version of dtSearch and the registered version is the
  81.                DTSEARCH.REG file, which suppresses the registration
  82.                reminder screen.  The DTSEARCH.REG file included in your
  83.                dtSearch 1.1 package will work with version 1.11. 
  84.                Therefore, all you have to do to upgrade is to install the
  85.                new version of dtSearch in your DTSEARCH directory.
  86.  
  87.                              New Features in Version 1.11
  88.  
  89.           A.  DESQview Support
  90.  
  91.                Use the following DESQview parameters to run dtSearch in a
  92.           DESQview window:
  93.  
  94.           Memory Size (in K): 384
  95.  
  96.           Options:
  97.                Writes text directly to screen.........: [N]
  98.                Displays graphics information..........: [N]
  99.                Virtualize text/graphics (Y,N,T).......: [Y]
  100.                Uses serial ports (Y,N,1,2)............: [N]
  101.                Requires floppy diskette...............: [N]
  102.  
  103.           B.  Limited Access Menu
  104.  
  105.                dtSearch 1.11 includes a new, alternative menu file
  106.           DTS_SAFE.MNU, which only allows users to perform indexed searches
  107.           and view the results of searches.  The purpose of the limited
  108.           access menu is to provide a way for network administrators and
  109.           bulletin-board operators to give their users simplified and
  110.           limited access to document indexes.  To run dtSearch using this
  111.           menu, enter the command:
  112.  
  113.                DTSEARCH /MENU DTS_SAFE.MNU
  114.  
  115.           This menu will allow users to: (1) perform indexed searches; (2)
  116.           view results of prior searches; (3) create search reports; (4)
  117.  
  118.  
  119.  
  120.  
  121.  
  122.                                         - 3 -
  123.  
  124.           select index libraries; and (5) print the contents of a window. 
  125.           Indexing features, the notepad editor, directory browsing, and
  126.           unindexed searches are unavailable to a user running dtSearch
  127.           with this menu.
  128.  
  129.           C.  Batch Mode Indexing
  130.  
  131.                Batch mode indexing allows you to create, update, and
  132.           compress a document index by running dtSearch from a batch file. 
  133.           (For information about creating batch files, see your DOS
  134.           manual.)  Batch mode indexing can be useful if, for example, you
  135.           want to perform a complex and time-consuming series of tasks
  136.           every night to update your indexes.
  137.  
  138.           1.  Overview
  139.  
  140.                To set up a batch indexing job, first create a "script" that
  141.           lists the tasks that you want dtSearch to perform.  A script is a
  142.           text file that lists a series of indexing commands that dtSearch
  143.           will carry out.
  144.  
  145.                The easiest way to create a script is to use the "Create
  146.           Batch Script" option in the Index menu.  When you select this
  147.           option, a dialog box will appear that is almost identical to the
  148.           "Update Index" dialog box.  At the top of the box will be a line
  149.           where you can specify the name of the script you want to create.
  150.  
  151.                Fill out the rest of the box exactly as you would if you
  152.           were updating an index.  If you want to create a new index for
  153.           your batch job, use the "Create Index" section of the dialog box. 
  154.           See the manual section on Adding Documents to an Index for more
  155.           information about the options in the Create Batch Script dialog
  156.           box.
  157.  
  158.                When you are done setting up the indexing job, select the
  159.           "Create Script" button at the bottom of the dialog box to create
  160.           the batch script.  dtSearch will then store all of the
  161.           information you have provided (the index to update, the
  162.           directories to index, etc.) in a script file that you can run
  163.           later.
  164.  
  165.                To run the script that you created, exit dtSearch and type
  166.           the following at the DOS prompt:
  167.  
  168.                DTSEARCH /SCRIPT MYSCRIPT.JOB
  169.  
  170.           where "MYSCRIPT.JOB" is the name of your script.  dtSearch will
  171.           then perform the indexing task you specified.  dtSearch will
  172.           record any errors encountered during the job in a file called
  173.           MYSCRIPT.LOG.  Errors will not be displayed on the screen, since
  174.           dtSearch assumes that batch jobs will run without someone
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                                         - 4 -
  181.  
  182.           watching them.  After a batch indexing job, you should check the
  183.           log file to see if any errors occured.
  184.  
  185.                This is all that you need to know to set up basic batch
  186.           indexing tasks.  The rest of this section provides information
  187.           for more advanced use of batch mode indexing.
  188.  
  189.           2.  Script files
  190.  
  191.                A script file is any text file that dtSearch can read.  You
  192.           can create a script using the "Create Batch Script" option in the
  193.           Index menu, or you can create a script by hand.  Before you try
  194.           to write your own scripts, you may want to create an example
  195.           using the "Create Batch Script" function so you can see what a
  196.           batch script looks like.
  197.  
  198.                A script can be ASCII text or it can be in one of the word
  199.           processor formats that dtSearch recognizes, such as WordPerfect
  200.           or WordStar.  The first line of a script must consist of the
  201.           words DTSEARCH SCRIPT.
  202.  
  203.                A script consists of a series of "SET" statements that
  204.           specify the documents to be indexed and the index to use, and
  205.           commands such as "ADD" and "COMPRESS".  dtSearch ignores any line
  206.           beginning with a *, so you can include comments in a script. 
  207.           Here is an example:
  208.  
  209.                   DTSEARCH SCRIPT
  210.                   * Add documents from C:\DOCS to MyIndex
  211.                   SET INDEXNAME = MyIndex
  212.                   SET DOCPATH = C:\DOCS
  213.                   SET FILTER = *.DOC *.TXT *.WPF
  214.                   ADD
  215.                   COMPRESS
  216.  
  217.           This script would index documents in the directory C:\DOCS,
  218.           storing information about the documents in the index called
  219.           "MyIndex", and would compress the index.  To run this script, put
  220.           it in the file UPDATE.JOB and execute the command:
  221.  
  222.                   DTSEARCH /SCRIPT UPDATE.JOB
  223.  
  224.           dtSearch will then execute the script, logging any error messages
  225.           to the file UPDATE.LOG.  
  226.  
  227.           3.  Creating an index
  228.  
  229.                To create an index, set up a script like this:
  230.  
  231.                   SET INDEXNAME = MyIndex
  232.                   SET INDEXPATH = C:\DOCINDEX
  233.                   CREATE
  234.  
  235.  
  236.  
  237.  
  238.  
  239.                                         - 5 -
  240.  
  241.           The two SET statements tell the program what you want to call the
  242.           index and the directory you want to put it into.  The "CREATE"
  243.           statement tells dtSearch to create the index in the specified
  244.           directory.
  245.  
  246.           WARNING:  Please be careful when using CREATE.  If you create an
  247.           index that already exists, dtSearch will delete the old index and
  248.           create a new, empty index in its place.  In interactive mode, you
  249.           will get a warning message before this happens, but in batch mode
  250.           dtSearch simply assumes that you really want to create a new
  251.           index.
  252.  
  253.           4.  Adding documents to an index
  254.  
  255.                To add documents to an index, use "SET DOCPATH =" to tell
  256.           dtSearch the directory in which the documents are located and
  257.           "SET FILTERS =" to specify the file name filters.  Then use the
  258.           "ADD" command to add the documents to the index.  If you want to
  259.           index documents in several directories, use multiple
  260.           "SET DOCPATH =" statements separated by "ADD" commands.  Example:
  261.  
  262.                   SET INDEXNAME = MyIndex
  263.                   SET DOCPATH = C:\DOCS
  264.                   SET FILTER = *.DOC *.TXT *.WPF
  265.                   ADD
  266.                   SET DOCPATH = C:\DOCS2
  267.                   ADD
  268.                   SET DOCPATH = C:\DOCS3
  269.                   ADD
  270.  
  271.           This would add documents from C:\DOCS, c:\DOCS2, and c:\DOCS3 to
  272.           the index "MyIndex".
  273.  
  274.                The CREATE function needs to know both the name and the
  275.           directory for an index, and so both the SET INDEXNAME and the SET
  276.           INDEXPATH must be present to create an index.  The ADD function
  277.           just needs to know which index you want to add documents to, so
  278.           you can use either the name (SET INDEXNAME) or the path (SET
  279.           INDEXPATH) to specify the index.
  280.  
  281.           5.  Reindexing changed documents
  282.  
  283.                The REINDEX command in a script will cause dtSearch to
  284.           reindex any documents in an index that have been modified since
  285.           the index was last updated.  This is the batch mode equivalent to
  286.           the "Reindex changed documents" menu option.  Example:
  287.  
  288.                SET INDEXNAME = MyIndex
  289.                REINDEX
  290.  
  291.  
  292.  
  293.  
  294.  
  295.                                         - 6 -
  296.  
  297.           6.  Compressing an index
  298.  
  299.                To compress an index, use SET INDEXNAME or SET INDEXPATH to
  300.           specify the index to compress and then use the COMPRESS command. 
  301.           Example:
  302.  
  303.                   SET INDEXNAME = MyIndex
  304.                   COMPRESS
  305.  
  306.           7.  Complex scripts
  307.  
  308.                A script can do more than one indexing task.  For example,
  309.           this script would create the index MyIndex, add documents to it,
  310.           compress it, and then create a second index:
  311.  
  312.                SET INDEXNAME = MyIndex
  313.                SET INDEXPATH = c:\myindex
  314.                CREATE
  315.                SET DOCPATH = c:\docs
  316.                SET FILTERS = *.doc *.wpf *.txt
  317.                ADD
  318.                COMPRESS
  319.                SET INDEXNAME = MyIndex II
  320.                SET INDEXPATH = c:\myindex2
  321.                CREATE
  322.  
  323.           Note that you do not need to specify the index name again after
  324.           the CREATE command.  dtSearch will remember the values given for
  325.           the previous command until you change them.
  326.  
  327.           8.  Running a script
  328.  
  329.                To run a script, enter the command
  330.  
  331.                   DTSEARCH /SCRIPT name
  332.  
  333.           substituting the name of the script you want to run for "name". 
  334.  
  335.           9.  Errors
  336.  
  337.                Any errors that occur during a batch indexing job are logged
  338.           to a file with the same name as the script file but with the
  339.           extension ".LOG".  For example, if you ran a script called
  340.           UPDATE.JOB, the log will be in UPDATE.LOG.
  341.  
  342.  
  343.  
  344.  
  345.  
  346.                                         - 7 -
  347.  
  348.                For each line in the script, the log file will contain the
  349.           text of the line with >> in front of it.  Any errors caused by a 
  350.           statement will follow this line.  Here is an example.  Suppose
  351.           that EXAMPLE.JOB contains the following script, with an error in
  352.           the last line ("COMPRESS" is misspelled):
  353.  
  354.                SET INDEXNAME = MyIndex
  355.                SET INDEXPATH = c:\myindex
  356.                CREATE
  357.                SET DOCPATH = c:\docs
  358.                SET FILTER = *.doc
  359.                ADD
  360.                COMRPESS
  361.  
  362.           To run this script, you would enter the command
  363.  
  364.                DTSEARCH /SCRIPT EXAMPLE.JOB
  365.  
  366.           After indexing is done, this is what the EXAMPLE.LOG file would
  367.           look like:
  368.  
  369.                -----------------------------------------------------------
  370.                Executing script file EXAMPLE.JOB  
  371.                Starting Time:  7:00pm Mon  4 Nov 91
  372.                -----------------------------------------------------------
  373.                >> SET INDEXNAME = MyIndex
  374.                >> SET INDEXPATH = c:\myindex
  375.                >> CREATE
  376.                Creating index:    MyIndex
  377.                                   c:\myindex
  378.                >> SET DOCPATH = c:\docs
  379.                >> SET FILTER = *.doc
  380.                >> ADD
  381.                Adding documents to index
  382.                  Index:           MyIndex
  383.                                   c:\myindex
  384.                  Filters:         *.doc
  385.                  Directory:       c:\docs
  386.                Indexing complete
  387.                >> COMRPESS
  388.                Unrecognized script command.
  389.                Execution complete.  Time:  7:10pm Mon  4 Nov 91
  390.  
  391.           The error message, "Unrecognized script command," follows the
  392.           misspelled command "COMRPESS".
  393.  
  394.